package com.kangye.exam.bean;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

public class WrongTopic implements Serializable {

  private long studentId;  //学生id
  private long itemId;      //试题id；
  private String errorAnswer;   //选错的选项
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.sql.Timestamp errorTime;  //选错的时间
  private String subjectName;
  private String gradeName;
  private String typeName;
  private long difficulty;  //难度
  private String content;   //题干
  private String options;  //选项内容
  private String answer;  //答案
  private long score;     //分数
  private String analysis;  //解析

  public long getStudentId() {
    return studentId;
  }

  public void setStudentId(long studentId) {
    this.studentId = studentId;
  }


  public long getItemId() {
    return itemId;
  }

  public void setItemId(long itemId) {
    this.itemId = itemId;
  }


  public String getErrorAnswer() {
    return errorAnswer;
  }

  public void setErrorAnswer(String errorAnswer) {
    this.errorAnswer = errorAnswer;
  }


  public java.sql.Timestamp getErrorTime() {
    return errorTime;
  }

  public void setErrorTime(java.sql.Timestamp errorTime) {
    this.errorTime = errorTime;
  }

  public String getSubjectName() {
    return subjectName;
  }

  public void setSubjectName(String subjectName) {
    this.subjectName = subjectName;
  }

  public String getGradeName() {
    return gradeName;
  }

  public void setGradeName(String gradeName) {
    this.gradeName = gradeName;
  }

  public String getTypeName() {
    return typeName;
  }

  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }

  public long getDifficulty() {
    return difficulty;
  }

  public void setDifficulty(long difficulty) {
    this.difficulty = difficulty;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getOptions() {
    return options;
  }

  public void setOptions(String options) {
    this.options = options;
  }

  public String getAnswer() {
    return answer;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
  }

  public long getScore() {
    return score;
  }

  public void setScore(long score) {
    this.score = score;
  }

  public String getAnalysis() {
    return analysis;
  }

  public void setAnalysis(String analysis) {
    this.analysis = analysis;
  }

  @Override
  public String toString() {
    return "WrongTopic{" +
            "studentId=" + studentId +
            ", itemId=" + itemId +
            ", errorAnswer='" + errorAnswer + '\'' +
            ", errorTime=" + errorTime +
            ", subjectName='" + subjectName + '\'' +
            ", gradeName='" + gradeName + '\'' +
            ", typeName='" + typeName + '\'' +
            ", difficulty=" + difficulty +
            ", content='" + content + '\'' +
            ", options='" + options + '\'' +
            ", answer='" + answer + '\'' +
            ", score=" + score +
            ", analysis='" + analysis + '\'' +
            '}';
  }
}
